package com.tjsiqi.dao;

import com.tjsiqi.Vo.JbzInfoMVo;
import com.tjsiqi.Vo.JbzInfoVo;
import com.tjsiqi.beans.PageQuery;
import com.tjsiqi.model.Webusercontrol;
import com.tjsiqi.param.SearchJbzInfoParam;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface WebusercontrolMapper {
    int deleteByPrimaryKey(String code);

    int insert(Webusercontrol record);

    int insertSelective(Webusercontrol record);

    Webusercontrol selectByPrimaryKey(String code);

    int updateByPrimaryKeySelective(Webusercontrol record);

    int updateByPrimaryKey(Webusercontrol record);

    List<JbzInfoVo> getjbzInfoM();

    int countByParam(@Param("searchJbzInfoParam") SearchJbzInfoParam searchJbzInfoParam);

    List<JbzInfoMVo> getJbzInfoMs(@Param("searchJbzInfoParam") SearchJbzInfoParam searchJbzInfoParam, @Param("page") PageQuery page);

    int getoutJbzCount(@Param("time") Date time);

    int getNearOutJbzCount(@Param("time")Date time);

    JbzInfoMVo selectByCode(@Param("code") String jbzCode);
}